/**
 * 积分管理模块API
 * @desc 员工积分
 * @author 王东
 */
import request from '@/utils/request'
// 1.员工积分
export function employeesIntegral(query) {
  return request({
    url: '/wms/points',
    method: 'get',
    params: query
  })
}
// 2.兑换
export function pointsExchange(partyCode, code) {
  return request({
    url: '/wms/points/exchange',
    method: 'post',
    params: { partyCode: partyCode, code: code }
  })
}
// 3.查询兑换商品
export function pointsExchangeList(query) {
  return request({
    url: '/wms/pointsExchangeGoods/enableList',
    method: 'get',
    params: query
  })
}
